package cn.tedu._04mybatis.pojo.vo;

import cn.tedu._04mybatis.pojo.entity.Comment;

import java.util.List;

/**
 * 查询指定微博的所有评论信息：微博ID、微博内容、List<Comment>；
 */
public class WeinoCommentVO1 {
    private int id;
    private String content;

    private List<Comment> comments;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<Comment> getComments() {
        return comments;
    }

    public void setComments(List<Comment> comments) {
        this.comments = comments;
    }

    @Override
    public String toString() {
        return "WeinoCommentVO1{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", comments=" + comments +
                '}';
    }
}
